// export type TextLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";

export interface ArticleContent {
  title: string;
  htmlContent: string;
  textContent: string;
  path: string; //tag 需要用
  tagName: string;
}

export interface ArticleStyles {
  deleteLine: boolean;
  underLine: boolean;
  bold: boolean;
  note: string;
  noteWidth: number;
  noteHeight: number;
  text: string;

  // color: string;
  // background: string;
  // level: TextLevel;
}

export type ArticleStylesKeys = keyof ArticleStyles;

export interface Article extends ArticleContent {
  id: string;
  createTime: string;
  updateTime: string;
  styles?: MyRecord<string, MyPartial<ArticleStyles>>;
}
